const RIGHT = {


    //外商
    OUTBUY: {
        OUTBUY_MANAGE_ADD: 'OUTBUY_MANAGE_ADD',     //新增外商√
        OUTBUY_MANAGE_UPDATE: 'OUTBUY_MANAGE_UPDATE',     //修改外商√
        OUTBUY_MANAGE_DELETE: 'OUTBUY_MANAGE_DELETE',     //删除外商√
        OUTBUY_MANAGE_INFOMAINTENANCE: 'OUTBUY_MANAGE_INFOMAINTENANCE',    //外商信息维护√
        OUTBUY_MANAGE_ADDORDER: 'OUTBUY_MANAGE_ADDORDER',     //外商添加订单√
        OUTBUY_PERSONNEL_ASSIGNMENT: 'OUTBUY_PERSONNEL_ASSIGNMENT',    //人员分配
        OUTBUY_PAYER_ADD: 'OUTBUY_PAYER_ADD',   //新增付款账户
        OUTBUY_PAYER_DELETE: 'OUTBUY_PAYER_DELETE',   //删除付款账户
        OUTBUY_REQUIRE_ADD: 'OUTBUY_REQUIRE_ADD',   //新增需求
        OUTBUY_REQUIRE_DELETE: 'OUTBUY_REQUIRE_DELETE',   //删除需求
    },


    //供应商
    SUPPLIER: {
        SUPPLIER_MANAGE_ADD: 'SUPPLIER_MANAGE_ADD',     //新增供应商√
        SUPPLIER_MANAGE_UPDATE: 'SUPPLIER_MANAGE_UPDATE',     //修改供应商√
        SUPPLIER_MANAGE_DELETE: 'SUPPLIER_MANAGE_DELETE',     //删除供应商√
        SUPPLIER_MANAGE_INFOMAINTENANCE: 'SUPPLIER_MANAGE_INFOMAINTENANCE',    //供应商信息维护√

        SUPPLIER_MANAGE_AGREE_ADD: 'SUPPLIER_MANAGE_AGREE_ADD',//增加采购合同√
        SUPPLIER_MANAGE_AGREE_DELETE: 'SUPPLIER_MANAGE_AGREE_DELETE',//删除采购合同√
        SUPPLIER_MANAGE_AGREE_EDIT: 'SUPPLIER_MANAGE_AGREE_EDIT',//更新采购合同√

        SUPPLIER_MANAGE_LINKMAN_ADD: 'SUPPLIER_MANAGE_LINKMAN_ADD',//增加联系人√
        SUPPLIER_MANAGE_LINKMAN_DELETE: 'SUPPLIER_MANAGE_LINKMAN_DELETE',//删除联系人√

        SUPPLIER_DETAIL_RECACC_DELETE: 'SUPPLIER_DETAIL_RECACC_DELETE',//删除收款人账户√
        SUPPLIER_DETAIL_RECACC_ADD: 'SUPPLIER_DETAIL_RECACC_ADD',//增加收款人账户√

        SUPPLIER_DETAIL_PRODUCT_DELETE: 'SUPPLIER_DETAIL_PRODUCT_DELETE',//删除产品信息√
        SUPPLIER_DETAIL_PRODUCT_EDIT: 'SUPPLIER_DETAIL_PRODUCT_EDIT',//修改产品信息√
        SUPPLIER_DETAIL_PRODUCT_ADD: 'SUPPLIER_DETAIL_PRODUCT_ADD',//增加产品信息v

        SUPPLIER_DETAIL_DRAWER_ADD: 'SUPPLIER_DETAIL_DRAWER_ADD',//增加开票人√
        SUPPLIER_DETAIL_DRAWER_DELETE: 'SUPPLIER_DETAIL_DRAWER_DELETE',//删除开票人√
        SUPPLIER_DETAIL_DRAWER_EDIT: 'SUPPLIER_DETAIL_DRAWER_EDIT',//修改开票人√
        SUPPLIER_DETAIL_DRAWER_LIMIT: 'SUPPLIER_DETAIL_DRAWER_LIMIT',//修改开票人限额√

        SUPPLIER_PERSONNEL_ASSIGNMENT: 'SUPPLIER_PERSONNEL_ASSIGNMENT',//人员分配
        SUPPLIER_MANAGE_ATTACH_SAVE: 'SUPPLIER_MANAGE_ATTACH_SAVE',//保存附件√
        SUPPLIER_BLACKLIST_ADD: 'SUPPLIER_BLACKLIST_ADD',//增加黑名单√
        SUPPLIER_BLACKLIST_DELETE: 'SUPPLIER_BLACKLIST_DELETE',//移除黑名单√

        SUPPLIER_PAYAPPLY_EXPORT: 'SUPPLIER_PAYAPPLY_EXPORT',    //导出付款申请书

    },

    //物流供应商管理
    LOGISTICS_SUPPLIER: {
        LOGISTICS_SUPPLIER_ADD: 'LOGISTICS_SUPPLIER_ADD', //物流供应商新增
        LOGISTICS_SUPPLIER_EDIT: 'LOGISTICS_SUPPLIER_EDIT', //物流供应商编辑
        LOGISTICS_SUPPLIER_DELETE: 'LOGISTICS_SUPPLIER_DELETE', //物流供应商删除

        LOGISTICS_SUPPLIER_RECACC_ADD: 'SUPPLIER_DETAIL_RECACC_ADD',//增加收款人账户√
        LOGISTICS_SUPPLIER_RECACC_DELETE: 'SUPPLIER_DETAIL_RECACC_DELETE',//删除收款人账户√
    },

    //审核
    APPROVAL: {
        APPROVAL_AGREEMENT: 'APPROVAL_AGREEMENT', //审核采购合同
        APPROVAL_SUPPILER: 'APPROVAL_SUPPILER', //审核供应商
        APPROVAL_PRODUCT: 'APPROVAL_PRODUCT', //审核产品
        APPROVAL_DRAWER: 'APPROVAL_DRAWER', //审核开票人
        APPROVAL_OUTBUY: 'APPROVAL_OUTBUY', //审核外商
        PAY_APPROVAL: 'PAY_APPROVAL',   //付款审核
        EXPORTING_PAYMENG_LIST: 'EXPORTING_PAYMENG_LIST',//导出付款审核列表
    },


    //外汇
    FOREIGN: {
        FOREIGN_EX_EXCHANGE: 'FOREIGN_EX_EXCHANGE',//结汇√
        FOREIGN_EX_ADD: 'FOREIGN_EX_ADD',//新增外汇√
        FOREIGN_EX_DELETE: 'FOREIGN_EX_DELETE', //删除外汇
        FOREIGN_EX_APPROVAL: 'FOREIGN_EX_APPROVAL',//外汇审核√

        FOREIGN_EX_RELEVANCE: 'FOREIGN_EX_RELEVANCE',//外汇关联√
        FOREIGN_ORDER_CANCEL: 'FOREIGN_ORDER_CANCEL',//取消关联*+
        FOREIGN_EXDETAIL_RELEVANCE: 'FOREIGN_EXDETAIL_RELEVANCE',//详情页外汇关联√

        // FOREIGN_EX_SPLIT: 'FOREIGN_EX_SPLIT',//外汇拆分√
        // FOREIGN_EX_CONFIRM: 'FOREIGN_EX_CONFIRM',//确认外汇收齐*+
        // FOREIGN_EX_CANCELCONFIRM: 'FOREIGN_EX_CANCELCONFIRM',//取消外汇收齐*+
    },


    //订单
    ORDER: {
        ORDER_MANAGE_ADD: 'ORDER_MANAGE_ADD',//添加订单√
        ORDER_MANAGE_COPY: 'ORDER_MANAGE_COPY',//复制订单√
        ORDER_MANAGE_EDIT: 'ORDER_MANAGE_EDIT',//编辑订单√
        ORDER_MANAGE_COST: 'ORDER_MANAGE_COST',//订单费用√
        ORDER_MANAGE_DELETE: 'ORDER_MANAGE_DELETE',//删除订单√
        ORDER_MANAGE_ATTACH: 'ORDER_MANAGE_ATTACH',//订单附件√
        ORDER_MANAGE_COST_CONFIRM: 'ORDER_MANAGE_COST_CONFIRM',//订单确认费用收齐√
        ORDER_MANAGE_COST_CANCEL: 'ORDER_MANAGE_COST_CANCEL',//订单取消费用收齐√
        ORDER_MANAGE_GENERATE: 'ORDER_MANAGE_GENERATE',//订单管理生成报关资料√
        ORDER_APPROVAL_COST_ACCEPT: 'ORDER_APPROVAL_COST_ACCEPT',//通关受理√
        ORDER_APPROVAL_COST: 'ORDER_APPROVAL_COST',//通关审批费用√
        ORDER_APPROVAL_ATTACH: 'ORDER_APPROVAL_ATTACH',//通关审批附件√
        ORDER_APPROVAL_GENERATE: 'ORDER_APPROVAL_GENERATE',//通关生成报关资料√
        ORDER_APPROVAL_CLEARANCE: 'ORDER_APPROVAL_CLEARANCE',//通关信息维护√
        ORDER_APPROVAL_REDOWNLOAD: 'ORDER_APPROVAL_REDOWNLOAD',//下载报关资料√
        ORDER_APPROVAL_COST_CONFIRM: 'ORDER_APPROVAL_COST_CONFIRM',//通关确认费用收齐√
        ORDER_MANAGE_COST_APPROVAL: 'ORDER_MANAGE_COST_APPROVAL',//订单费用审批√
        ORDER_APPROVAL_COST_APPROVAL: 'ORDER_APPROVAL_COST_APPROVAL', //通关费用审批√
        ORDER_MANAGE_RETURN_ORDER: 'ORDER_MANAGE_RETURN_ORDER', //待报关退回订单
        ORDER_APPROVAL_RETURN_ORDER: 'ORDER_APPROVAL_RETURN_ORDER', //报关中退回订单
        ORDER_LOGISTICS_INFO: 'ORDER_LOGISTICS_INFO',//查看物流信息√

        ORDER_APPROVAL_TONGGUANYI: 'ORDER_APPROVAL_TONGGUANYI', //提交通关易报关，注意只有广州子公司（租户）有这个功能
    },

    //物流订单
    LOGISTICS_ORDER: {
        LOGISTICS_ORDER_EDIT: 'LOGISTICS_ORDER_EDIT',   //修改物流订单
        LOGISTICS_ORDER_DELETE: 'LOGISTICS_ORDER_DELETE',   //删除物料订单
    },

    //结算单
    SETTLEMENT: {
        SETTLEMENT_MANAGE_ADD: 'SETTLEMENT_MANAGE_ADD',//添加结算单√
        SETTLEMENT_PAYAPPLY_EXPORT: 'SETTLEMENT_PAYAPPLY_EXPORT',  //导出付款申请书

    },

    //DRAW 开票
    DRAW: {
        DRAW_INVOICE_GENERATE: 'DRAW_INVOICE_GENERATE',//做开票资料
        DRAW_INVOICE_REC: 'DRAW_INVOICE_REC',//收票√
        DRAW_INVOICE_CHECKIN: 'DRAW_INVOICE_CHECKIN',//认证发票√
        DRAW_INVOICE_CHECKED_CANCEL: 'DRAW_INVOICE_CHECKED_CANCEL', //取消验票
        DRAW_TAX_EDIT: 'DRAW_TAX_EDIT',//修改退税状态√
    },

    //资金管理
    CAPITAL: {
        CAPITAL_PAY_DOPAY: 'CAPITAL_PAY_DOPAY',//客户付款
        CAPITAL_PAY_REPAY: 'CAPITAL_PAY_REPAY',//付款失败重新付款√
        CAPITAL_PAYAPPLY_EXPORT: 'CAPITAL_PAYAPPLY_EXPORT', //导出付款申请书
    },


    //基础数据
    BASEDATA: {
        BASE_BUSINESS_ADD: 'BASE_BUSINESS_ADD',//增加业务参数√
        BASE_BUSINESS_DELETE: 'BASE_BUSINESS_DELETE',//删除业务参数√
        BASE_BUSINESS_EDIT: 'BASE_BUSINESS_EDIT',//修改业务参数√

        BASE_CURRENCY_ADD: 'BASE_CURRENCY_ADD',//增加币种√
        BASE_CURRENCY_DELETE: 'BASE_CURRENCY_DELETE',//删除币种√
        BASE_CURRENCY_EDIT: 'BASE_CURRENCY_EDIT',//修改币种√

        BASE_HSCODE_ADD: 'BASE_HSCODE_ADD',//增加商品√
        BASE_HSCODE_DELETE: 'BASE_HSCODE_DELETE',//删除商品√
        BASE_HSCODE_EDIT: 'BASE_HSCODE_EDIT',//修改商品√

        BASE_RATE_ADD: 'BASE_RATE_ADD',//增加汇率√
        BASE_RATE_DELETE: 'BASE_RATE_DELETE',//删除汇率√
        BASE_RATE_EDIT: 'BASE_RATE_EDIT',//修改汇率√
        BASE_RATE_SYNC: 'BASE_RATE_SYNC',//同步外管局汇率

        BASE_PLACE_ADD: 'BASE_PLACE_ADD',//增加海关√
        BASE_PLACE_DELETE: 'BASE_PLACE_DELETE',//删除海关√
        BASE_PLACE_EDIT: 'BASE_PLACE_EDIT',//修改海关√

        BASE_STRATEGY_ADD: 'BASE_STRATEGY_ADD',//增加价格策略√
        BASE_STRATEGY_DELETE: 'BASE_STRATEGY_DELETE',//删除价格策略√
        BASE_STRATEGY_EDIT: 'BASE_STRATEGY_EDIT',//修改价格策略√
    },


    //基础业务数据
    LOGISTICS_PORT: {
        LOGISTICS_PORT_DELETE: 'LOGISTICS_PORT_DELETE', //物流港口删除
        LOGISTICS_PORT_ADD: 'LOGISTICS_PORT_ADD', //物流港口新增
        LOGISTICS_PORT_EDIT: 'LOGISTICS_PORT_EDIT', //物流港口编辑
    },


};
export default RIGHT;